package com.springboot.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class OrderForm {
    @NotEmpty(message = "姓名必填")
    private String name;
    @NotEmpty(message = "手机好必填")
    private String phone;
    @NotEmpty(message = "地址必填")
    private String address;

    @NotEmpty(message = "opendid必填")
    private String openid;
    /**
     * 购物车信息
     */
    @NotEmpty(message = "订单明细必填")
    private String items;

}
